secret_dict = {
    "gmail": "sz}Cjpdlo1frp",
    "campus": "fdpsxv456",
    "163email": "shqjC4961frp",
    "taobao": "uklqrfhurv",
    "mobilephone": "4;3:337;;;;",
    "soft": "m{Xihvriw"
}

# keys = input("输入要提起的内容：")
m = int(input("请输入秘钥(整数):"))
for key in secret_dict:
    if key == "mobilephone":
        secret_dict[key] = "18070048888"
        continue
    str_decrypt = ""
    for letter in secret_dict[key]:
        if 'a' <= letter <= 'z':
            str_decrypt += chr((ord(letter)-ord("a")-m) % 26 + ord("a"))
        elif 'A' <= letter <= 'Z':
            str_decrypt += chr((ord(letter)-ord("A")-m) % 26 + ord("A"))
        else:
            str_decrypt += letter
    secret_dict[key] = str_decrypt
# print(f"内容{keys}的明文是{secret_dict[keys]}")
print(secret_dict)

